package com.blueocean_health.care.management.domain.dto;

import java.util.Date;

public class HomeCalcOrderInfo {

    private String orderId;             //订单ID
    private String serviceId;           //服务ID
    private String patientName;         //患者名称
    private String phone;               //手机号
    private String hospitalId;          //医院ID
    private Date createTime;          //创建时间
    private Date beginTime;           //服务开始时间
    private Date endTime;             //服务结束时间
    private Double actualTotalPrice;         //总价格
    private Double oneDayPrice;         //日单价
    private Double actualDayPrice;      //实际日单价
    private Double oneHourPrice;        //小时价格
    private Double totalPay;      //总工资
    private Double oneDayPay;      //单日工资
    private Double oneHourPay;      //单日工资
    private String orderTypeFlag;       //1:24小时  2:12小时制
    private String orderType;       //1:新入 2:续费 3:退款
    private String refundServiceId;
    private String serviceType;       //1:一对一 2:二对一 4:多对多
    private String workerId;            //护工ID
    private String groupId;             //小组ID
    private Integer proportions;         //提成比例
    private String postSubsidy;         //岗位工资

    public String getRefundServiceId() {
        return refundServiceId;
    }

    public void setRefundServiceId(String refundServiceId) {
        this.refundServiceId = refundServiceId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Double getOneDayPrice() {
        return oneDayPrice;
    }

    public void setOneDayPrice(Double oneDayPrice) {
        this.oneDayPrice = oneDayPrice;
    }

    public Double getActualDayPrice() {
        return actualDayPrice;
    }

    public void setActualDayPrice(Double actualDayPrice) {
        this.actualDayPrice = actualDayPrice;
    }

    public Double getOneHourPrice() {
        return oneHourPrice;
    }

    public void setOneHourPrice(Double oneHourPrice) {
        this.oneHourPrice = oneHourPrice;
    }

    public Double getTotalPay() {
        return totalPay;
    }

    public void setTotalPay(Double totalPay) {
        this.totalPay = totalPay;
    }

    public Double getOneDayPay() {
        return oneDayPay;
    }

    public void setOneDayPay(Double oneDayPay) {
        this.oneDayPay = oneDayPay;
    }

    public Double getOneHourPay() {
        return oneHourPay;
    }

    public void setOneHourPay(Double oneHourPay) {
        this.oneHourPay = oneHourPay;
    }

    public String getOrderTypeFlag() {
        return orderTypeFlag;
    }

    public void setOrderTypeFlag(String orderTypeFlag) {
        this.orderTypeFlag = orderTypeFlag;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getWorkerId() {
        return workerId;
    }

    public void setWorkerId(String workerId) {
        this.workerId = workerId;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public Integer getProportions() {
        return proportions;
    }

    public void setProportions(Integer proportions) {
        this.proportions = proportions;
    }

    public String getPostSubsidy() {
        return postSubsidy;
    }

    public void setPostSubsidy(String postSubsidy) {
        this.postSubsidy = postSubsidy;
    }

    public Double getActualTotalPrice() {
        return actualTotalPrice;
    }

    public void setActualTotalPrice(Double actualTotalPrice) {
        this.actualTotalPrice = actualTotalPrice;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        HomeCalcOrderInfo that = (HomeCalcOrderInfo) o;

        if (orderId != null ? !orderId.equals(that.orderId) : that.orderId != null) return false;
        return serviceId != null ? serviceId.equals(that.serviceId) : that.serviceId == null;
    }

    @Override
    public int hashCode() {
        int result = orderId != null ? orderId.hashCode() : 0;
        result = 31 * result + (serviceId != null ? serviceId.hashCode() : 0);
        return result;
    }
}
